import Vue from "vue";
import Vuex from "vuex"
import publishModule from "./publish.ts"
Vue.use(Vuex)

const store = new Vuex.Store({
	state: {
		webView: "",
		a: "",
		...publishModule.state
	},
	mutations: {
		...publishModule.mutations,
		setKeyValue(state, {
			k,
			v
		}) {
			state[k] = v
		}
	}
})


export default store;